import request from '@/utils/request'

// 调水过程核定重新计算
export function setCroVol(query) {
    return request({
        url: '/distribute/WiGetvolM/setCroVol',
        method: 'get',
        params: query
    })
}

// 调水过程核定列表
export function wiGetvolMList(query) {
    return request({
        url: '/distribute/WiGetvolM/list',
        method: 'get',
        params: query
    })
}

// 调水过程核定列表保存
export function updateWiGetvolM(data) {
    return request({
      url: '/distribute/WiGetvolM',
      method: 'put',
      data: data
    })
}

// 调水过程核定列表 导入上一年数据
export function importLastYearData(query) {
    return request({
        url: '/distribute/WiGetvolM/importLastYearData',
        method: 'get',
        params: query
    })
}
  